package com.yykj.hospital.server.service.bank;

import com.yykj.common.vo.PageData;
import com.yykj.hospital.client.dto.bank.DoctorBankCashApplyDTO;
import com.yykj.hospital.server.dto.bank.BankListDTO;
import com.yykj.hospital.server.dto.bank.DoctorCashFeeTypeDTO;
import com.yykj.hospital.server.form.CashApplyForm;
import com.yykj.hospital.server.form.bank.BindCardInfoForm;
import com.yykj.hospital.server.form.bank.DoctorCashApplySearchForm;
import com.yykj.hospital.server.model.entity.DoctorPassword;

import java.util.List;

public interface BankService {
    /**
     * 绑定银行卡到医生账号
     */
    void bindCardToDoctor(BindCardInfoForm infoForm);

    /**
     * 获取医生已经绑定的银行
     */
    List<BankListDTO> listDoctorBankCard(String doctorId);

    void deleteBindCard(Integer id);

    /**
     * 医生申请提现到银行卡
     */
    void cashToBankApply(CashApplyForm cashApplyForm);

    /**
     * 审核提现申请
     */
    void passDoctorCashApply(String orderNo,String remark);

    /**
     *
     */
    void refuseDoctorCashApply(String orderNo,String remark);

    PageData<DoctorBankCashApplyDTO> listDoctorCashApply(DoctorCashApplySearchForm form);

    DoctorCashFeeTypeDTO cashFeeType(String doctorId);

    void checkPayPasswordCnt(DoctorPassword doctorPassword, String password);

}
